WPPayForm\App\Models\Form D

Total Complexity 133
Dependencies 10
Dependents 24
Total lines 848
Lines of code 686
Logical lines of code 334
Comment lines 13
Methods 37
Properties 1

Methods 37

Method Rating Maintainability Complexity Lines of code
getEditorShortCodes()
B
38 15 69
sanitizeFieldMaps()
A
45 12 39
saveForm()
A
46 8 38
getStatus()
A
40 6 66
getReceiptSettings()
A
51 8 26
saveSettings()
S
52 6 24
getFormInputLabels()
S
55 6 20
getForms()
S
47 5 33
getBuilderSettings()
S
50 5 30
getCurrencyAndLocale()
S
55 5 20
getInputShortcode()
S
52 4 24
storeData()
S
54 3 22
getSchedulingSettings()
S
48 2 34
updateForm()
S
55 3 19
sanitizationRules()
S
58 3 16
recaptchaType()
S
61 3 12
getFormattedElements()
S
57 2 18
getDesignSettings()
S
58 2 16
getLabel()
S
64 3 10
getCurrencySettings()
S
63 3 10
hasPaymentFields()
S
64 3 9
hasTaxFields()
S
65 3 9
getFormInfo()
S
63 3 9
getForm()
S
64 3 9
getConfirmationSettings()
S
59 2 14
index()
S
59 2 14
getButtonSettings()
S
60 2 13
deleteForm()
S
58 1 18
turnstileStatus()
S
68 2 7
getPaymentMethodElements()
S
75 1 4
getAllPages()
S
71 1 6
store()
S
70 1 6
getAllAvailableForms()
S
71 1 6
getTotalCount()
S
79 1 3
insertTemplateForm()
S
78 1 3
hasRecurring()
S
78 1 3
getAllForms()
S
68 1 7